﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Net;
using Pub.Controls;

namespace MyAPP
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //检查升级
            AutoUpdater au = new AutoUpdater();
            au.TryUpdate();

            System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("zh-CN");
            Application.Run(new FrmMain(au));
        }

    }
}
